﻿@{
    ViewBag.Title = "TestNews";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<form name="trip_search" method="post" enctype="multipart/form-data" action="/api/newsapi/PostNews">
    <div>
        <label for="content">Title</label>
        <input name="title" type="text" />
    </div>
    <div>
        <label for="content">CategoryId</label>
        <input name="categoryId" type="text" />
    </div>
    <div>
        <label for="content">Content</label>
        <input name="content" type="text" />
    </div>
    <div>
        <label for="content">LocationId</label>
        <input name="locationId" type="text" />
    </div>
    <div>
        <label for="content">UserId</label>
        <input name="userId" type="text" />
    </div>
    <div>
        <label for="content">Phone Number</label>
        <input name="phoneNumber" type="text" />
    </div>
    <div>
        <label for="image1">Image File</label>
        <input name="image1" type="file" multiple="" />
    </div>
    <input type="submit" value="Submit" />
</form>
